var attack = argument0;
var attacked = argument1;
var i = 0;
var effectCount = array_length_1d(attack.effects);
for ( i = 0; i < effectCount; i++)
{
    script_execute(attack.effects [i], attack, attacked);
}
